package com.gxa.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxa.common.commons.R;
import com.gxa.order.pojo.hotel.Room;

import java.time.LocalDate;

public interface RoomService extends IService<Room> {
    /**
     * 添加房间
     * @param room
     * @return
     */
    R addRoom(Room room);

    /**
     * 查询房间不做分页
     * @param hotelId
     * @return
     */
    R queryRoom(Integer hotelId,String typeName);
    /**
     * 修改房间
     * @param room
     * @return
     */
    R updateRoom(Room room);

    /**
     * 上下架房间
     * @param roomId
     * @return
     */
    R downRoom(Integer roomId);

}
